package com.demo.controller;

import com.demo.service.DataService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: LiuYuanQi
 * @Date: 2020/4/15 9:58
 */
@Slf4j
@RestController
@RequestMapping("/data")
@Api(description = "数据")
public class DataController {

//    @Autowired
//    private DataService dataService;
//
//    @ApiOperation(value = "初始化用户、物品、偏好数据，24条数据")
//    @PostMapping(value = "/initUserItem")
//    public Object initUserItem(){
//        return dataService.initUserItem();
//    }
//
//    @ApiOperation(value = "初始化准确率、召回率、评估值数据，5万条数据")
//    @PostMapping(value = "/initBatchData")
//    public Object initBatchData(){
//        return dataService.initBatchData();
//    }

}